package com.greensam.pixelengine.pojo.vo.picture.request;

import com.greensam.pixelengine.pojo.base.BaseDto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

/**
 * 颜色搜图请求参数
 * @author Ma Chengrui
 * @since 2025/9/17 10:47
 */
@Getter
@Setter
public class SearchPictureByColorRequest extends BaseDto {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(title = "空间id")
    @NotNull(message = "空间id不能为空")
    private Long spaceId;

    @Schema(title = "颜色")
    @NotBlank(message = "颜色不能为空")
    private String color;

}
